# =============================================================================
# >> IMPORTS
# =============================================================================
from distutils.core import Extension
from distutils.core import setup


# =============================================================================
# >> PROJECT SOURCES
# =============================================================================
SOURCES = [
    'src/symdump_exports.cpp',
]


# =============================================================================
# >> LINKER FLAGS
# =============================================================================
LINKER_FLAGS = [
    '-static-libgcc',
]


# =============================================================================
# >> SETUP
# =============================================================================
module = Extension(
    'symdump',
    sources=SOURCES,
    extra_link_args=LINKER_FLAGS,
)

setup(
    name='symdump',
    ext_modules=[module],
)